package mines.fila3.letstalk.tools;

import android.net.ConnectivityManager;
import android.net.NetworkInfo;

public class LetsTalkNetwork {

	public static boolean isConnected(ConnectivityManager cm) {
		NetworkInfo netInfo = cm.getActiveNetworkInfo();
		if (netInfo != null && netInfo.isConnectedOrConnecting()) {
			return true;
		}
		return false;
	}
}
